package mammuthus.web.bean

import java.util
import java.util.Date
import scala.beans.BeanProperty
import scala.collection.JavaConversions._

/**
 * Created by fengbingjian on 15/5/10 16:23.
 */
class TestConfBean {

  @BeanProperty
  var name: String = null
  @BeanProperty
  var url: String = null
  @BeanProperty
  var host: String = null
  @BeanProperty
  var insert_time: Date = null

  @BeanProperty
  var user: String = null

  def hosts:java.util.List[String] = {
     host.split(",").toList
  }

}
